package com.gan.yidademo.leave.controller;

import com.gan.yidademo.common.base.ResponseResult;
import com.gan.yidademo.common.base.RestResultGenerator;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author gbw
 * @date 2023/9/22
 * 学生请假接口
 */
@RestController
@RequestMapping("/stu_leave")
public class StuLeaveController {

    @ApiOperation("从宜搭中获取学生的请假信息并返回")
    @GetMapping("/get")
    public ResponseResult<?> doGet() {
        return RestResultGenerator.success("成功!");
    }

}
